Z1 Robot arm from Unitree - #342
Conversation
…ox-python # Conflicts: # roboticstoolbox/robot/ERobot.py
|
Hi @siilats thanks for your interest in the toolbox and apologies for the very late response. I'm happy to accept new robots to the toolbox, but this PR has got many aspects, and is quite large +50,000 lines which is a bit daunting. Could you pare this back a bit, keep the robot model, but don't include the notebooks, or save the notebooks after you've cleared the output. Is |
Extracted from petercorke#342
Extracted from petercorke#342
|
Thank you for your interest in RTB, and for putting together Unitree Z1 support. The underlying description is already available via Given both a storage concern and an already-available import numpy as np
from roboticstoolbox.models.URDF.URDFRobot import URDFRobot
class Z1(URDFRobot):
"""
Class that imports a Unitree Z1 URDF model, loaded via
``robot_descriptions`` (``z1_description``) rather than a bundled
URDF -- no rtb-data storage cost.
"""
def __init__(self):
super().__init__("z1", manufacturer="Unitree")
self.qr = np.zeros(self.n)
self.qz = np.zeros(self.n)
self.addconfiguration("qr", self.qr)
self.addconfiguration("qz", self.qz)(Exact Thank you again for the contribution, and please do consider resubmitting in that shape. |
Please find it attached